package com.cn.txx.utils;

import java.util.HashMap;
import java.util.Map;

import com.cn.txx.entity.Module;

public class Constants {

	/**
	 * 当前登陆用户
	 */
	public static String CURRENT_USER = "CUR_USER";
	
	public static final String WEBSOCKET_URL = "/websocket";
	
	public static final String WEBSOCKET_JSURL = "/sockjs/websocket";
	
	/**
	 * 数据库 zy
	 */
	public static final String DATASOURCE_ZY="zy";
	
	
	public static Map<String, Module> moduleCache = new HashMap<>(64);
	
	/**
	 * 邮箱验证码
	 */
	public static final String LOGIN_YZM = "LOGIN_YZM";

	/**
	 * shiro session共享前缀
	 */
	public static final String SHIRO_SESSION_PREFIX = "txx-session:";

	public static final String CACHE_PREFIX="txx-cache:";

	/**
	 * 省
	 */
	public static final String CITY_PRO = "CITY_PRO";
}
